﻿using System.Reflection;
using Ninject;
using Ninject.Extensions.Conventions;

namespace NinjectManager.NinjectInstallers
{
    public class FrontPresentationServicesInstaller
    {
        public static void Instal(IKernel kernel)
        {
            kernel.Bind(x => x.From(Assembly.Load("Journal.Front.Presentation")).SelectAllClasses().BindDefaultInterface());
        } 
    }
}